package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author min
 * @since 2022-11-29
 */
@TableName("renew_data")
@Data
public class RenewData implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 校区
     */
    private Long schoolId;

    /**
     * 科目id
     */
    private Long subjectsId;

    private Integer yearClassId;

    /**
     * 学生id
     */
    private Long studentId;

    /**
     * 老师id
     */
    private Long teacherId;

    /**
     * 老师姓名
     */
    private String teacherName;

    /**
     * 是否校长：0否，1是
     */
    private Integer isRestor;

    /**
     * 当前报读的年份
     */
    private Integer yearPart;

    /**
     * 当前报读的季度
     */
    private Integer quarterNum;

    /**
     * 续班年份
     */
    private Integer yearPartRenew;

    /**
     * 续班季度
     */
    private Integer quarterNumRenew;

    /**
     * 0否,1是
     */
    private Integer isRenew;

    private Integer trueRenew;

    private Integer type;

    /**
     * 等级：1市级，2县级
     */
    private Integer level;

    /**
     * 订单id
     */
    private Long orderDetailId;

    private Integer renewType;

    private Integer isNewStudent;

    /**
     *续班日期
     */
    private LocalDate renewDate;


    @TableField(fill = FieldFill.INSERT)
    private Long createdId;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;
}
